package com.mexcad.reports.utils;

import com.lowagie.text.Element;

public class DataType {

	public static final short NUMERIC_TYPE=1;
	public static final short STRING_TYPE=2;
	public static final short CURRENCY_TYPE=3;
	public static final short DATE_TYPE=4;

	public static final short CENTER = Element.ALIGN_CENTER;
	public static final short RIGHT=Element.ALIGN_RIGHT;
	public static final short LEFT=Element.ALIGN_LEFT;
	

	private short dataType;
	private Object data;
	private int alignMode=CENTER;
	
	public int getAlignMode() {
		return alignMode;
	}
	public void setAlignMode(int alignMode) {
		this.alignMode = alignMode;
	}
	public short getDataType() {
		return dataType;
	}
	public void setDataType(short dataType) {
		this.dataType = dataType;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}    

	public String toString(){
		return data.toString();
	}
	


}
